<!DOCTYPE html>
<html>
	<head>
		<title>{$title} :: {Modules_Admin_Abstract::$mainTitle}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link rel="stylesheet" type="text/css" href="/tpl/admin/css/style.css" media="all" />
	</head>
	<body>
		<div id="wrap">
			<div id="left">
				<a id="logo" href="/">MNB-CMS</a>
				<ul class="menu">
					{foreach $menu as $item}
						<li>
							<a href="{if $item->name}?module={$item->module()->name}{else}#{/if}">{$item->title}</a>
						</li>
					{/foreach}
				</ul>
			</div>
			<div id="right">
				<div id="top">
					{strip}
						<ul class="menu">
							{foreach App::inst()->module->subMenu() as $url => $label}
							<li>
								<a href="{$url}">{$label}</a>
							</li>
							{/foreach}
						</ul>
					{/strip}
				</div>
				<div id="content">
					<h1 class="mainTitle">{Modules_Admin_Abstract::$mainTitle}</h1>
					<div class="content">{$content}</div>
				</div>
			</div>
		</div>
	</body>
</html>